<%--
  Created by IntelliJ IDEA.
  User: 25174
  Date: 2022/4/10
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
登录失败
<br>
<%
    int error_code = (int)request.getAttribute("error_code");
    switch (error_code){
        case 2:out.println("密码错误！");break;
        case 3:out.println("未查找到账户");break;
        case 4:out.println("验证码错误！");break;
        case 5:out.println("学院不正确！");break;
        case 6:out.println("专业不正确！");break;
        case 7:out.println("学院或专业未正确填写！");break;
        default:
            out.println("未知的error_code值："+error_code);
    }
%>
</body>
</html>
